import RequestHttp from "./http";
import { PathBuilder, handleStatus } from "./helper";
import { config } from "./config";

export { handleStatus, PathBuilder };

export const axios = new RequestHttp(config);

export const GET = axios.get;
export const POST = axios.post;
export const PUT = axios.put;
export const DELETE = axios.delete;

/**
 * @Description 接口说明 接口描述的命名暂定为
 * 请求类型 + 动词 + 接口名称
 * @author xx
 * @date 2024-07-11 09:39:52
 */
